/*
* cSans Grid 940-16-20 v0.5
* 2009 Copyright A navalla suíza http://anavallasuiza.com
* cSans is released under the GNU Affero GPL version 3 - more information at http://www.fsf.org/licensing/licenses/agpl-3.0.html
*/

/* 1. PAGE */
body { text-align:center; }
.page,.expanded-page {
	width:940px;
	text-align:left;
	margin:0 auto;
	padding:1px 0;
}
.expanded-page {
	width:960px;
	padding-left:20px;
}

/* 2. DEBUG */
.grid { background-image:url(csans-grid-940-16-20.png); }
.grid.expanded-page { background-position:20px; }

/* 3. LAYOUT */
/* 3.1. Columns */
.w1 { width:60px; }
.w2 { width:120px; }
.w3 { width:180px; }
.w4 { width:240px; }
.w5 { width:300px; }
.w6 { width:360px; }
.w7 { width:420px; }
.w8 { width:480px; }
.w9 { width:540px; }
.w10 { width:600px; }
.w11 { width:660px; }
.w12 { width:720px; }
.w13 { width:780px; }
.w14 { width:840px; }
.w15 { width:900px; }
.w16 { width:960px; }

/* 3.2. Columns */
.col1 { width:40px; }
.col2 { width:100px; }
.col3 { width:160px; }
.col3c { width:300px; }
.col4 { width:220px; }
.col5 { width:280px; }
.col5c { width:172px; }
.col6 { width:340px; }
.col7 { width:400px; }
.col8 { width:460px; }
.col9 { width:520px; }
.col10 { width:580px; }
.col11 { width:640px; }
.col12 { width:700px; }
.col13 { width:760px; }
.col14 { width:820px; }
.col15 { width:880px; }
.col16 { width:940px; }

.col,.col1,.col2,.col3,.col3c,.col4,.col5,.col5c,.col6,.col7,.col8,.col9,.col10,.col11,.col12,.col13,.col14,.col15,.col16,
.w1,.w2,.w3,.w4,.w5,.w6,.w7,.w8,.w9,.w10,.w11,.w12,.w13,.w14,.w15,.w16 { float:left; }

.col,.col1,.col2,.col3,.col3c,.col4,.col5,.col5c,.col6,.col7,.col8,.col9,.col10,.col11,.col12,.col13,.col14,.col15,.col16 { margin-right:20px; }

th.col,th.col1,th.col2,th.col3,th.col3c,th.col4,th.col5,th.col5c,th.col6,th.col7,th.col8,th.col9,th.col10,th.col11,th.col12,th.col13,th.col14,th.col15,th.col16,
th.w1,th.w2,th.w3,th.w4,th.w5,th.w6,th.w7,th.w8,th.w9,th.w10,th.w11,th.w12,th.w13,th.w14,th.w15,th.w16,
td.col,td.col1,td.col2,td.col3,td.col3c,td.col4,td.col5,td.col5c,td.col6,td.col7,td.col8,td.col9,td.col10,td.col11,td.col12,td.col13,td.col14,td.col15,td.col16,
td.w1,td.w2,td.w3,td.w4,td.w5,td.w6,td.w7,td.w8,td.w9,td.w10,td.w11,td.w12,td.w13,td.w14,td.w15,td.w16 { float:none;margin-right:0; }


/* 3.3. Space columns: Right */
.r-1 { margin-right:-40px; }
.r-2 { margin-right:-100px; }
.r-3 { margin-right:-160px; }
.r-4 { margin-right:-220px; }
.r-5 { margin-right:-280px; }
.r-6 { margin-right:-340px; }
.r-7 { margin-right:-400px; }
.r-8 { margin-right:-460px; }
.r-9 { margin-right:-520px; }
.r-10 { margin-right:-580px; }
.r-11 { margin-right:-640px; }
.r-12 { margin-right:-700px; }
.r-13 { margin-right:-760px; }
.r-14 { margin-right:-820px; }
.r-15 { margin-right:-880px; }

.r-1,.r-2,.r-3,.r-4,.r-5,.r-6,.r-7,.r-8,.r-9,.r-10,.r-11,.r-12,.r-13,.r-14,.r-15 { position:relative; }

.r05 { margin-right:30px; }
.r1 { margin-right:80px; }
.r2 { margin-right:140px; }
.r3 { margin-right:200px; }
.r4 { margin-right:260px; }
.r5 { margin-right:320px; }
.r6 { margin-right:380px; }
.r7 { margin-right:440px; }
.r8 { margin-right:500px; }
.r9 { margin-right:560px; }
.r10 { margin-right:620px; }
.r11 { margin-right:680px; }
.r12 { margin-right:740px; }
.r13 { margin-right:800px; }
.r14 { margin-right:860px; }

/* 3.4. Space columns: Left */
.l-1 { margin-left:-60px; }
.l-2 { margin-left:-120px; }
.l-3 { margin-left:-180px; }
.l-4 { margin-left:-240px; }
.l-5 { margin-left:-300px; }
.l-6 { margin-left:-360px; }
.l-7 { margin-left:-420px; }
.l-8 { margin-left:-480px; }
.l-9 { margin-left:-540px; }
.l-10 { margin-left:-600px; }
.l-11 { margin-left:-660px; }
.l-12 { margin-left:-720px; }
.l-13 { margin-left:-780px; }
.l-14 { margin-left:-840px; }
.l-15 { margin-left:-900px; }

.l05 { margin-left:30px; }
.l1 { margin-left:60px; }
.l2 { margin-left:120px; }
.l3 { margin-left:180px; }
.l4 { margin-left:240px; }
.l5 { margin-left:300px; }
.l6 { margin-left:360px; }
.l7 { margin-left:420px; }
.l8 { margin-left:480px; }
.l9 { margin-left:540px; }
.l10 { margin-left:600px; }
.l11 { margin-left:660px; }
.l12 { margin-left:720px; }
.l13 { margin-left:780px; }
.l14 { margin-left:840px; }
.l15 { margin-left:900px; }

/* 3.5. Space columns: top */
.t1 { margin-top:10px; }
.t2 { margin-top:20px; }
.t3 { margin-top:30px; }
.t4 { margin-top:40px; }
.t5 { margin-top:50px; }
.t6 { margin-top:60px; }
.t7 { margin-top:70px; }
.t8 { margin-top:80px; }
.t9 { margin-top:90px; }
.t10 { margin-top:100px; }

/* 3.6. Space columns: bottom */
.b1 { padding-bottom:10px; }
.b2 { padding-bottom:20px; }
.b3 { padding-bottom:30px; }
.b4 { padding-bottom:40px; }
.b5 { padding-bottom:50px; }
.b6 { padding-bottom:60px; }
.b7 { padding-bottom:70px; }
.b8 { padding-bottom:80px; }
.b9 { padding-bottom:90px; }
.b10 { padding-bottom:100px; }

/* 3.7. Paddings */
.p05,.colp05 { padding:5px; }
.p1,.colp1 { padding:10px; }
.p2,.colp2 { padding:20px; }
.pr05 { padding-right:5px; }
.pr1 { padding-right:10px; }
.pr2 { padding-right:20px; }
.wp2 { padding:20px 0 20px 20px;left:-20px;margin-right:-20px; }
.colp05 { left:-5px;margin-right:10px; }
.colp1 { left:-10px;margin-right:0; }
.colp2 { left:-20px;margin-right:-20px; }
.colp05,.colp1,.colp2,.wp1,.wp2 {
	position: relative;
}

/* 3.8. Right-floated columns */
.colright {
	float:right;
	position:relative;
	right: -20px;
}

/* 4. HACKS */
.col,.col1,.col2,.col3,.col3c,.col4,.col5,.col5c,.col6,.col7,.col8,.col9,.col10,.col11,.col12,.col13,.col14,.col15,.col16,
.w1,.w2,.w3,.w4,.w5,.w6,.w7,.w8,.w9,.w10,.w11,.w12,.w13,.w14,.w15,.w16 { _display:inline; } /* IE5-6 */

.l-1,.l-2,.l-3,.l-4,.l-5,.l-6,.l-7,.l-8,.l-9,.l-10,.l-11,.l-12,.l-13,.l-14,.l-15 { *position:relative; } /* IE */

* html .expanded-page {
	\width:980px; /* IE5-6 quirks mode */
	w\idth:960px; /* IE6 */
}